package cn.exrick.service;

import java.util.List;

import cn.exrick.pojo.TbFriendRequest;
import cn.exrick.utils.mybatis.Page;
import cn.exrick.utils.mybatis.PageParam;

public interface FriendRequestService extends BaseService<TbFriendRequest> {
    List<TbFriendRequest> findByFriendAndMember(long friendId, long memberId, Integer status);

    /**
     * 查询用户好友申请列表
     *
     * @param memberId
     * @return
     */
    List<TbFriendRequest> findByMemberId(long memberId);

    Page<TbFriendRequest> findByMemberId(long memberId, PageParam pageParam) throws Exception;
}
